/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.money.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.money.entity.Money;
import com.thinkgem.jeesite.modules.money.dao.MoneyDao;

/**
 * 薪资管理Service
 * @author zk
 * @version 2015-11-09
 */
@Service
@Transactional(readOnly = true)
public class MoneyService extends CrudService<MoneyDao, Money> {

	public Money get(String id) {
		return super.get(id);
	}
	
	public List<Money> findList(Money money) {
		return super.findList(money);
	}
	
	public Page<Money> findPage(Page<Money> page, Money money) {
		return super.findPage(page, money);
	}
	
	@Transactional(readOnly = false)
	public void save(Money money) {
		super.save(money);
	}
	
	@Transactional(readOnly = false)
	public void delete(Money money) {
		super.delete(money);
	}
	
}